package com.ruoyi.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 自选股对象 watchlist
 *
 * @author ruoyi
 * @date 2025-01-13
 */
@Data
public class Watchlist {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID
     */
//    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 股票代码
     */
//    @Excel(name = "股票代码")
    private String stockCode;

    /**
     * 股票ID
     */
    private Integer stockId;
}
